package com.ruoyi.restaurant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐桌管理对象 tb_dinner_table
 * 
 * @author Wu
 * @date 2023-11-09
 */
public class TbDinnerTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 餐桌名称 */
    @Excel(name = "餐桌名称")
    private String tableName;

    /** 0 未使用 1 正在使用 */
    @Excel(name = "0 未使用 1 正在使用")
    private Long tableStatus;

    /** 餐桌开始占用 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "餐桌开始占用", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginUseDate;

    /** 餐桌的创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "餐桌的创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 餐桌信息的修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "餐桌信息的修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 餐桌信息的最后修改人 */
    @Excel(name = "餐桌信息的最后修改人")
    private Long updateUserId;

    /** 1为删除 0未删除 */
    @Excel(name = "1为删除 0未删除")
    private Long disabled;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setTableStatus(Long tableStatus) 
    {
        this.tableStatus = tableStatus;
    }

    public Long getTableStatus() 
    {
        return tableStatus;
    }
    public void setBeginUseDate(Date beginUseDate) 
    {
        this.beginUseDate = beginUseDate;
    }

    public Date getBeginUseDate() 
    {
        return beginUseDate;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setDisabled(Long disabled) 
    {
        this.disabled = disabled;
    }

    public Long getDisabled() 
    {
        return disabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tableName", getTableName())
            .append("tableStatus", getTableStatus())
            .append("beginUseDate", getBeginUseDate())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("updateUserId", getUpdateUserId())
            .append("disabled", getDisabled())
            .toString();
    }
}
